function createSilverlight(xamlFileName)
{
	Silverlight.createObjectEx({
		source: xamlFileName +".xaml",
		parentElement: document.getElementById("SilverlightControlHost"),
		id: "SilverlightControl",
		properties: {
			width: "100%",
			height: "100%",
			version: "1.1"
		},
		events: {}
	});
}
